package com.book.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.book.dao.MainMapper;
import com.book.domain.Member;

@Service("mainservice")
public class MainServiceImpl implements MainService {
	
	@Autowired
	private MainMapper mainmapper;
	
	@Override
	public List<Member> getMember() {
		System.out.println("Service");
		return mainmapper.getMember();
	}

}
